<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Team C Defect System</title>
</head>

<body BGCOLOR="#FDF5E6">
	<H1 ALIGN="CENTER">Team C Defect System</H1>
	<form action="defectactions">
	
	<%
	String msgType = (String)request.getAttribute("msgType");
	String message = (String)request.getAttribute("message");
	if (message != null && msgType != null) {
		if (msgType.equals("error")) {
	%>

	<strong style="color:red;font-size:125%">Error processing request.</strong>
	<p><%= message %></p>
	<br>
	Please contact the system administrator.
	<%
		} else {
	%>

	<p>Request completed successfully.</p>
	<p><%= message %></p>
	<br>
	<input type="submit" name="btnGoToHomepage" value="Back to Defect List">
		
	<%
		}
	}
	%>

	</form>
</body>
</html>